package com.wtp.wallpaper.aspect.processor;

import java.util.function.Function;

// 1. 定义处理器接口
public interface UrlProcessor<T> {
    Class<T> getSupportedType();
    void process(T vo, Function<String, String> urlResolver);

    default boolean supports(Object item) {
        return getSupportedType().isInstance(item);
    }
}